package org.seckill.dto;

import org.seckill.entity.SuccessKillsed;

/**
 * Created by whl on 2017/6/29.
 */
public class SeckillExecution {
    private long seckillId;

    private  int state;

    private String stateInfo;

    private SuccessKillsed successKillsed;

    public SeckillExecution(long seckillId, int state, String stateInfo, SuccessKillsed successKillsed) {
        this.seckillId = seckillId;
        this.state = state;
        this.stateInfo = stateInfo;
        this.successKillsed = successKillsed;
    }

    public SeckillExecution(long seckillId, int state, String stateInfo) {
        this.seckillId = seckillId;
        this.state = state;
        this.stateInfo = stateInfo;
    }

    public long getSeckillId() {
        return seckillId;
    }

    public void setSeckillId(long seckillId) {
        this.seckillId = seckillId;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getStateInfo() {
        return stateInfo;
    }

    public void setStateInfo(String stateInfo) {
        this.stateInfo = stateInfo;
    }

    public SuccessKillsed getSuccessKillsed() {
        return successKillsed;
    }

    public void setSuccessKillsed(SuccessKillsed successKillsed) {
        this.successKillsed = successKillsed;
    }
}
